=~ (equal-sign tilde) and m" ... " in .htaccess directive [closed]

Posted by Lèse majesté on Server Fault See other posts from Server Fault or by Lèse majesté
Published on 2011-02-08T05:28:35Z Indexed on 2011/02/08 7:27 UTC
Read the original article Hit count: 473

Filed under:
|
|

I saw this bit of code on an old forum post:

SSLRequire %{HTTP_HOST} =~ m"\.secure\.powweb\.com"

And I was just wondering what the =~ and m" ... " meant. I've been searching online and in the Apache documentation for any mention of the equal-sign tilde operator, but I've found no mention of it. I know that some directives can take a tilde to use a regular expression, but I've never seen the m" ... " form used before.

What exactly is that m" ... " for? Where else would you see this form?

© Server Fault or respective owner

Related posts about apache

Related posts about .htaccess